package com.lds.memory.kafka.model;

import org.apache.commons.lang3.StringUtils;

public class Log {
    private String name;

    public Log(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "{"
                + "\"name\":\""
                + StringUtils.trimToEmpty(name) + '\"'
                + "}";
    }
}
